* {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
}

/* 试用栏 */
.top2>div {
    text-align: center;
}

.s1 li {
    margin: 30px 0px 0px;
    padding-bottom: 5px;
    display: inline-block;
    width: 120px;
    border-bottom: 3px solid white;
}
/* 选中样式 */
.s1 .title {
    color: orangered;
    border-bottom: 3px solid orangered;
}

.s1 li:nth-of-type(1):hover,.s1 li:nth-of-type(2):hover {
    cursor: pointer;
    color: orangered;
}

.s2 {
    width: 100%;
    height: 40px;
    line-height: 40px;
    border: 1px solid rgba(170, 166, 166, 0.5);
}

.s2 li {
    margin: 0 50px 0;
    display: inline-block;
}

.s2 li:hover {
    color: orangered;
    cursor: pointer;
}
.div {
    width: 1000px;
    overflow: hidden;
    /* border: solid; */
}

.ul li {
    width: 200px;
    height: 280px;
    border-radius: 5px;
    border: 1px solid silver;
    float: left;
    margin: 15px;
    position: relative;
}

.ul li div {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 40px;
    height: 23px;
    line-height: 23px;
    font-size: 13px;
    color: white;
    text-align: center;
    background-color: orangered;
    border-radius: 0px 5px 0px 5px;
}

/* 图片 */
.img {
    width: 200px;
    height: 120px;
    display: inline-block;
}

/* 商品名称 */
.ul li .ys1 {
    width: 190px;
    height: 40px;
    overflow: hidden;
    margin: 0px 3px 5px 3px;
    text-align: center;
    font-size: 16px;
}

.ul li span:nth-of-type(1),
.ul li span:nth-of-type(2) {
    display: inline-block;
    margin-top: 10px;
    margin-left: 50px;
    color: red;
    border: 1px solid;
    width: 40px;
    height: 20px;
    line-height: 20px;
    border-radius: 5px;
    font-size: 13px;
    text-align: center;
}

.ul li span:nth-of-type(2) {
    margin-left: 15px;
}

/* 时间， 数量 */
.ul li:nth-of-type(1) span,
.ul li:nth-of-type(3) span,
.ul li:nth-of-type(7) span {
    color: silver;
}

.ul li:nth-of-type(2) span,
.ul li:nth-of-type(6) span,
.ul li:nth-of-type(10) span {
    color: lightgreen;
}

.ul li:nth-of-type(4) span,
.ul li:nth-of-type(5) span,
.ul li:nth-of-type(8) span,
.ul li:nth-of-type(9) span,
.ul li:nth-of-type(11) span,
.ul li:nth-of-type(12) span {
    color: orangered;
}

/* 申请样式 */
ul li .ys2 {
    margin-top: 10px;
    margin-left: 65px;
    font-size: 15px;
}

ul li .l {
    color: orangered;
}

/* 底部样式 */
.ul li:nth-of-type(1)::after,
.ul li:nth-of-type(3)::after,
.ul li:nth-of-type(7)::after {
    color: silver;
    font-size: 14px;
    margin-left: 60px;
    content: '报告数量 : 8';
}

.ul li:nth-of-type(2)::after,
.ul li:nth-of-type(6)::after,
.ul li:nth-of-type(10)::after {
    color: lightgreen;
    font-size: 14px;
    margin-left: 55px;
    content: '查看试用名单';
}

.ul li:nth-of-type(4)::after,
.ul li:nth-of-type(5)::after,
.ul li:nth-of-type(8)::after,
.ul li:nth-of-type(9)::after,
.ul li:nth-of-type(11)::after,
.ul li:nth-of-type(12)::after {
    color: orangered;
    font-size: 14px;
    margin-left: 60px;
    content: '剩余时间2天';
}